package javaseof10day.day5.pm;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

public class ArrayListDemo {
	//ArrayList集合的使用
	public static void main(String[] args) {

	
		
		 List<String> strlist=new ArrayList<String>();
		 //申明一个存储String类的ArrayList集合
		 
		 strlist.add("《10天轻松学习Javase》");
		 strlist.add("《10天轻松学习Javaweb》");
		 strlist.add("《10天轻松学习springboot框架开发》");
		
		 List<Users> userlist=new ArrayList<Users>();
		 //申明一个存储Users类的ArrayList集合
		 
		 userlist.add(new Users(1,"user1","user1"));
		 userlist.add(new Users(2,"user2","user2"));
		 userlist.add(new Users(1,"user1","user1"));
		 
		 
		 
		 
	}

}
